﻿using System;

namespace sharpxbot.Core.Connection
{
    /// <summary>
    /// Represents session of IConnection. When new connection is opened new
    /// session is created. When connection is closed, current session is closed
    /// </summary>
    public interface ISession
    {
        Guid ID { get; }

        DateTime StartDate { get;  }

        DateTime? EndDate { get; }

        void Close();
    }
}
